package cn.dogger.easyboot.system.mapper;

import cn.dogger.easyboot.system.domain.dto.SysUserDTO;
import cn.dogger.easyboot.system.domain.entity.SysUser;
import cn.dogger.easyboot.system.domain.vo.SysUserDetail;
import cn.dogger.easyboot.system.domain.vo.SysUserVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 用户信息表
* @author dogger
* 2022-04-16
*/
@Repository
public interface SysUserMapper extends BaseMapper<SysUser> {
    List<SysUserVO> list(@Param("tb") SysUserDTO dto);

    SysUserDetail detailById(@Param("id")String id);
}